package cn.chl;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient  //注册到Nacos
@MapperScan("cn.chl.mapper")
public class DeviceApp {
    public static void main(String[] args) {
        SpringApplication.run(DeviceApp.class,args);
    }
}
